package com.neusoft.demo7;

public class Dog extends Pet{
    @Override
    public void toHospital() {
        this.setHealth(60);
        System.out.println("打针，吃药......");
    }

    public void catchingFly() {
        System.out.println("飞盘游戏......");
    }
}
